package top.wuyang.study.javaexam;

public class TbGoods {

    private int id;
    private String typeinfo;
    private String gname;
    private int price;
    private int amount;


    @Override
    public String toString() {
        return "TbGoods{" +
                "id=" + id +
                ", typeinfo='" + typeinfo + '\'' +
                ", gname='" + gname + '\'' +
                ", price=" + price +
                ", amount=" + amount +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTypeinfo() {
        return typeinfo;
    }

    public void setTypeinfo(String typeinfo) {
        this.typeinfo = typeinfo;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }
}
